package ca.venasse.pinventory.inventory.event;

import org.axonframework.domain.DomainEvent;

import ca.venasse.pinventory.inventory.common.InventoryName;

public class InventoryCreated extends DomainEvent {

	private static final long serialVersionUID = 1L;

	private final InventoryName name;

	public InventoryCreated(InventoryName name) {
		this.name = name;
	}

	public InventoryName getName() {
		return this.name;
	}

}
